package com.element.music.component.cofig;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 功能描述：用于封装统一的返回协议
 * <p>
 * User: element_demo developer
 * Date: 2022/1/9
 */

@Data(staticConstructor = "of")
@Accessors(chain = true)
public class BaseResponse {

    /**
     * code
     */
    private Integer code;

    /**
     * msg
     */
    private String msg;

    /**
     * data，用于存放返回的详情数据
     */
    private Object data;


}
